package cz.muni.fi.pa165.travelagency.services;

import cz.muni.fi.pa165.travelagency.dto.TourDTO;

/**
 * Interface for tour services
 *
 * @author Petr Stribny
 * @created 02-11-2012
 * @version 1.0
 */
public interface ITourService {
    
    /**
     * Creates tour
     * @param tour to create
     */
    public void createTour(TourDTO tour);
    
    /**
     * Deletes tour
     * @param tour to delete
     */
    public void deleteTour(TourDTO tour);
    
    /**
     * Retrieves tour
     * @param id tour's id
     * @return tour with specified id
     */
    public TourDTO getTour(Long id);
    
    /**
     * Updates tour information
     * @param tour to update
     */
    public void updateTour(TourDTO tour);
}
